<?php
/**
 * Created by PhpStorm.
 * User: jochen
 * Date: 2017/1/17
 * Time: 上午9:55
 */

namespace EWeiLink\JuPai;


use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Contracts\Support\Jsonable;

class OptionsEntity implements Jsonable, Arrayable, \ArrayAccess, \JsonSerializable
{
    use BaseEntityTrait;

    public function __construct($env)
    {
        $this->origin = [
            'staticUrl' => env( strtoupper($env) . '_STATIC_URL', 'http://static.eweilink.com'),
            'apiPrefix' => env( 'API_PREFIX', 'api/'),
        ];
    }


}